home *** CD-ROM | disk | FTP | other *** search
- #ifndef UTIME_H
- #define UTIME_H
-
- /*
- ** $VER: utime.h 1.3 (18.09.98)
- ** Includes Release 44.10
- **
- ** Copyright © 1996/98 by CyberdyneSystems
- **
- ** written by Matthias Henze
- ** All Rights Reserved
- */
-
- #ifndef STORMAMIGA_H
- #include <stormamiga.h>
- #endif
- #ifndef _INCLUDE_TIME_H
- #include <time.h>
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- /*----- POSIX-functions -----*/
-
- struct utimbuf
- {
- time_t actime; /* Access time */
- time_t modtime; /* Modification time */
- };
-
-
- int utime (cchar *, const struct utimbuf *);
-
- #ifdef __cplusplus
- }
- #endif
-
- #ifdef STORMAMIGA_UNIXPATH
- __inline int utime_u (cchar *file, const struct utimbuf *timep)
- {return utime (file, timep); }
-
- #define utime(file, timep) utime_u(UnixToAmigaPath(file), timep)
- #endif
-
- #endif /* UTIME_H */
-